package com.cmas.platform.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cmas.platform.domain.UserRecord;
import com.cmas.platform.vo.UserInfoRecordVo;
import com.cmas.platform.vo.UserRecordVo;

import java.util.List;

/**
 * 用户记录表Service接口
 * @author su
 * @email 1218819874@qq.com
 * @date 2023-04-28
 */
public interface UserRecordService extends IService<UserRecord> {


    /**
     * 查询用户记录表数组
     * @param userRecord 实体
     * @return 结果
     */
    public List<UserRecord> selectUserRecordList(UserRecord userRecord);

    public List<UserRecordVo>  selectUserRecordVoList(UserRecord userRecord);

    /**
     * 批量删除用户记录表
     * @param ids 需要删除的用户记录表ID集合
     * @return 结果
     */
    public int deleteUserRecordByIds(String[] ids);

    public UserInfoRecordVo getUserInfoRecord(String userId);
}
